package com.ls.controller.model.serviceIp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @ClassName AddServiceIpModel
 * @Description 新增业务与IP关联model
 * @Author pengyu
 * @Date 2019/9/13 10:17
 * @Version 1.0
 **/
@Data
@ApiModel("新增业务与IP关联model")
public class AddServiceIpModel {

    /**
     * 业务Id
     */
    @ApiModelProperty(value = "业务Id")
    @NotEmpty(message = "业务Id不能为空")
    private Long serviceId;

    /**
     * IP
     */
    @ApiModelProperty(value = "ip")
    @NotEmpty(message = "ip不能为空")
    private String ip;

}
